{% extends 'base.html' %}
{% block body %}
    <center><h1>资源发布管理</h1></center>
    {% for a in list %}
        {% if a.state == 2 %}
        <h3>标题:{{ a.title }}</h3>
	        <h4>预览:{{a.content}}</h4>
        <form action="/information/shenhe_handler/" method="post">
        <input type="hidden" name="id" value="{{ a.id }}">
        <select name='state'>
		    <option value="0">不通过</option>
		    <option value="1">通过</option>
	    </select>
            <button type="submit">确认</button>
        </form>
        {% endif %}
    {% endfor %}
{% endblock %}
